package cn.btks.resultintegration.rule.repository;

import cn.btks.resultintegration.rule.pojo.TwoHighSecondCategory;
import cn.btks.resultintegration.rule.pojo.TwoHighThirdCategory;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author lijun
 * @Date 2021/10/15 10:14
 */
@Repository
public interface TwoHighThirdCategoryRepository extends JpaRepository<TwoHighThirdCategory,Long> {

    /**
     * 根据父级节点ID查询
     * @param parentId
     * @return
     */
    List<TwoHighThirdCategory> findAllByParentId(Long parentId);
}
